package com.hycat.mail.order.client;

import com.hycat.mail.common.utils.R;
import com.hycat.mail.order.vo.MemberReceiveAddressVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.List;

/**
 * @author 吕泽浩业
 * @version 1.0
 */
@FeignClient(value = "mail-product", path = "/product")
public interface ProductClient {
    @GetMapping("/listAddress{memberId}")
    List<MemberReceiveAddressVo> listAddress(@PathVariable("memberId") Long memberId);

}
